﻿using System;

using SharedGenomics.Workbench.Annotations;

namespace SharedGenomics.Workbench.Tests.TestObjects
{
    public class TestAnnotationRequestPipelineTraversalStrategy : IAnnotationRequestPipelineTraversalStrategy
    {
        private int _moveCount;
        public bool MovedNext { get; private set; }

        public int MoveCount
        {
            get { return this._moveCount; }
        }

        public void MoveNext(AnnotationRequestContext context)
        {
            this.MovedNext = true;
            System.Threading.Interlocked.Increment(ref this._moveCount);
        }

        public IAnnotationRequestPipelineTraversalStrategy Clone()
        {
            throw new NotImplementedException();
        }
    }
}
